package com.lagou.service;

import java.util.List;
import java.util.Map;

public interface PositionService {
    /**
     * 数据导入：mysql->elasticsearch
     */
    public void importPosition() throws Exception;

    /**
     * 数据搜索
     */
    public List<Map<String, Object>> searchPosition(String keyword, Integer pageNum, Integer pageSize) throws Exception;
}
